//
//  SHEButton.m
//  SHEPuzzleFigure
//
//  Created by SW mini on 2019/11/25.
//  Copyright © 2019 Figure. All rights reserved.
//

#import "SHEButton.h"

@implementation SHEButton


- (void)setupSubTitle:(NSString *)title andWithImage:(NSString *)imagStr{
    
    [self setTitle:title forState:UIControlStateNormal];
    [self setBackgroundImage:[UIImage imageNamed:imagStr] forState:UIControlStateNormal];
    
    self.titleLabel.font = [UIFont fontWithName:@"FZY4K--GBK1-0" size:28.0];
    [self setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
    self.titleEdgeInsets = UIEdgeInsetsMake(-9, 0, 9, 0);
}



/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
